<template>
  <div class="C_JKSZ_YPPZWH">
    <div class="title">
      药品批准文号
    </div>
    <div class="query">
      <el-input size="small" class="input_style"></el-input>
      <el-button
        size="small"
        icon="el-icon-search"
        type="primary"
        style="margin-left:5px"
        >搜索</el-button
      >
      <el-button
        size="small"
        icon="el-icon-search"
        type="danger"
        style="margin-left:5px"
        >下载更新</el-button
      >
      开始条数
      <el-input size="small" class="input_style" style="width:60px"></el-input>
    </div>
    <div class="main">
      <el-table
        :data="tableData"
        border
        height="700"
        style="width: 100%"
        :header-cell-style="{
          background: 'rgb(246,250,253)',
          color: '#000000',
        }"
      >
        <el-table-column type="index" label="顺序号" width="65">
        </el-table-column>
        <el-table-column prop="address" label="id" width="200">
        </el-table-column>
        <el-table-column prop="address" label="生产厂家名称" width="220">
        </el-table-column>
        <el-table-column prop="address" label="剂型名称"> </el-table-column>
        <el-table-column prop="address" label="药品名称"> </el-table-column>
        <el-table-column prop="address" label="药品code"> </el-table-column>
        <el-table-column prop="address" label="厂家code"> </el-table-column>
        <el-table-column prop="address" label="剂型ID"> </el-table-column>
        <el-table-column prop="address" label="商品名称code"> </el-table-column>
      </el-table>
      <div class="block" style="text-align:center;margin-top:5px">
        <el-pagination layout="prev, pager, next" :total="50"> </el-pagination>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  // 组件名称
  name: "",
  // 局部注册的组件
  components: {},
  // 组件参数 接收来自父组件的数据
  props: {},
  // 组件状态值
  data() {
    return {
      tableData: [
        {
          date: "2016-05-02",
          name: "已启用",
          address: "金沙江路 1518 弄",
        },
        {
          date: "2016-05-04",
          name: "已启用",
          address: "金沙江路 1517 弄",
        },
        {
          date: "2016-05-01",
          name: "已启用",
          address: "金沙江路 1519 弄",
        },
        {
          date: "2016-05-03",
          name: "已启用",
          address: "金沙江路 1516 弄",
        },
      ],
    };
  },
  // 计算属性
  computed: {},
  // 侦听器
  watch: {},
  // 生命周期钩子   注：没用到的钩子请自行删除
  /**
   * 组件实例创建完成，属性已绑定，但DOM还未生成，$ el属性还不存在
   */
  created() {},
  /**
   * el 被新创建的 vm.el 替换，并挂载到实例上去之后调用该钩子。
   * 如果 root 实例挂载了一个文档内元素，当 mounted 被调用时 vm.el 也在文档内。
   */
  mounted() {},
  // 组件方法
  methods: {},
};
</script>

<style scoped lang="scss">
.C_JKSZ_YPPZWH {
  .title {
    background-color: rgb(233, 242, 255);
    line-height: 45px;
    font-size: 18px;
    font-weight: 700;
    padding: 0 10px;
  }
  .query {
    margin: 0 10px;
    margin-top: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    line-height: 40px;
  }
  .main {
    padding: 0 10px;
    margin-top: 10px;
  }
  .input_style {
    display: inline-block;
    width: 200px;
  }
}
</style>
